package com.example.myapplication.presenter.contract;

import com.example.myapplication.base.BasePresenter;
import com.example.myapplication.base.BaseView;
import com.example.myapplication.model.bean.NewsSummary;

import java.util.List;

/**
 * Created by meishiyiyun on 2017/5/27.
 */

public interface NewContract  extends BasePresenter {

    interface View extends BaseView {
        void SuccessRefresh(List<NewsSummary> newsSummaries);
        void SuccessLoadMore(List<NewsSummary> newsSummaries);
    }

    interface Presenter extends BasePresenter<View> {
        void requestDataRefresh(String NewsType, String NwsIed, int page);
        void requestDataLoadMore(String NewsType, String NwsIed, int page);
    }
}
